\hypertarget{group__group4}{\section{Signal Attributes}
\label{group__group4}\index{Signal Attributes@{Signal Attributes}}
}


Information about port configurations.  


\subsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\#define \hyperlink{group__group4_gae8ecf743145569e5b67dadd2f3b37cc7}{D\-S\-P\-I0\-\_\-\-P\-O\-R\-T}~'A'
\item 
\#define \hyperlink{group__group4_gab670645d0590ef0f380f06a9bc1e8ffc}{D\-S\-P\-I1\-\_\-\-P\-O\-R\-T}~'C'
\item 
\#define \hyperlink{group__group4_gabb12b5473a73d2b6fd70881a6bcd1eaf}{D\-S\-P\-I2\-\_\-\-P\-O\-R\-T}~'E'
\end{DoxyCompactItemize}


\subsection{Detailed Description}
Information about port configurations. Each of the three D\-S\-P\-I modes are assigned to some pins, this driver configures these pins to match S\-P\-I requirements (push-\/pull output, slew rate, buffers etc) and the user only needs to select one of the available ports for each module.

D\-S\-P\-I0 has only pins on P\-O\-R\-T A (medium speed), pins 12-\/15.\par
 -\/\-A12\-: S\-I\-N, A13\-: S\-O\-U\-T,\par
 -\/\-A14\-: S\-C\-K, A15\-: C\-S.\par
\par


D\-S\-P\-I1 has three possible ports\-:\par
 -\/\-P\-O\-R\-T C (slow), pins 2-\/5\-:\par
 --C2\-: S\-C\-K, C3\-:C\-S,\par
 --C4\-: S\-I\-N, C5\-:S\-O\-U\-T.\par
 -\/\-P\-O\-R\-T E (medium speed, don't forget to remove button jumpers on T\-R\-K board), pins 2-\/5\-:\par
 --E2\-: S\-I\-N, E3\-:S\-O\-U\-T,\par
 --E4\-: S\-C\-K, E5\-:C\-S.\par
 -\/\-P\-O\-R\-T H (medium speed), pins 0-\/3\-:\par
 --H0\-: S\-I\-N, H4\-:S\-O\-U\-T,\par
 --H2\-: S\-C\-K, H3\-:C\-S.\par


D\-S\-P\-I2 has two possible ports\-:\par
 -\/\-P\-O\-R\-T C (slow), pins 12-\/15\-:\par
 --C12\-: S\-I\-N, C13\-:S\-O\-U\-T,\par
 --C14\-: S\-C\-K, C15\-:C\-S.\par
 -\/\-P\-O\-R\-T E (slow), pins 12-\/15\-:\par
 --C12\-: S\-I\-N, C13\-:S\-O\-U\-T,\par
 --C14\-: S\-C\-K, C15\-:C\-S.\par
 

\subsection{Macro Definition Documentation}
\hypertarget{group__group4_gae8ecf743145569e5b67dadd2f3b37cc7}{\index{Signal Attributes@{Signal Attributes}!D\-S\-P\-I0\-\_\-\-P\-O\-R\-T@{D\-S\-P\-I0\-\_\-\-P\-O\-R\-T}}
\index{D\-S\-P\-I0\-\_\-\-P\-O\-R\-T@{D\-S\-P\-I0\-\_\-\-P\-O\-R\-T}!Signal Attributes@{Signal Attributes}}
\subsubsection[{D\-S\-P\-I0\-\_\-\-P\-O\-R\-T}]{\setlength{\rightskip}{0pt plus 5cm}\#define D\-S\-P\-I0\-\_\-\-P\-O\-R\-T~'A'}}\label{group__group4_gae8ecf743145569e5b67dadd2f3b37cc7}
Port definition for D\-S\-P\-I0, there is no alternative. 

Definition at line 272 of file spi\-\_\-drv.\-h.

\hypertarget{group__group4_gab670645d0590ef0f380f06a9bc1e8ffc}{\index{Signal Attributes@{Signal Attributes}!D\-S\-P\-I1\-\_\-\-P\-O\-R\-T@{D\-S\-P\-I1\-\_\-\-P\-O\-R\-T}}
\index{D\-S\-P\-I1\-\_\-\-P\-O\-R\-T@{D\-S\-P\-I1\-\_\-\-P\-O\-R\-T}!Signal Attributes@{Signal Attributes}}
\subsubsection[{D\-S\-P\-I1\-\_\-\-P\-O\-R\-T}]{\setlength{\rightskip}{0pt plus 5cm}\#define D\-S\-P\-I1\-\_\-\-P\-O\-R\-T~'C'}}\label{group__group4_gab670645d0590ef0f380f06a9bc1e8ffc}
Port definition for D\-S\-P\-I1, alternatives are\par
 
\begin{DoxyCode}
\textcolor{preprocessor}{#define DSPI1\_PORT 'E'}
\textcolor{preprocessor}{#define DSPI1\_PORT 'H' }
\end{DoxyCode}
 

Definition at line 279 of file spi\-\_\-drv.\-h.

\hypertarget{group__group4_gabb12b5473a73d2b6fd70881a6bcd1eaf}{\index{Signal Attributes@{Signal Attributes}!D\-S\-P\-I2\-\_\-\-P\-O\-R\-T@{D\-S\-P\-I2\-\_\-\-P\-O\-R\-T}}
\index{D\-S\-P\-I2\-\_\-\-P\-O\-R\-T@{D\-S\-P\-I2\-\_\-\-P\-O\-R\-T}!Signal Attributes@{Signal Attributes}}
\subsubsection[{D\-S\-P\-I2\-\_\-\-P\-O\-R\-T}]{\setlength{\rightskip}{0pt plus 5cm}\#define D\-S\-P\-I2\-\_\-\-P\-O\-R\-T~'E'}}\label{group__group4_gabb12b5473a73d2b6fd70881a6bcd1eaf}
Port definition for D\-S\-P\-I2, alternative is\par
 
\begin{DoxyCode}
\textcolor{preprocessor}{#define DSPI2\_PORT 'C'}
\end{DoxyCode}
 

Definition at line 285 of file spi\-\_\-drv.\-h.

